<tpl var layoutStyle={ />
<style>
	.layui-input-avatar {
		display: inline-block;
		text-align: center;
	}

	.layui-input-avatar .layui-input-avatar-view {
		display: block;
		width: 80px;
		height: 80px;
		border: 1px solid #eee;
		margin: 0px auto 5px auto;
	}
</style>
<tpl }; />
<tpl var layoutBody={ />
<div data-identity="sys:user" data-table="sys_user">
	<div class="layui-breadcrumb">
		<a href="/manage/index.jspx">首页</a>
		<a href="javascript:;">
			<cite>基本资料</cite>
		</a>
	</div>
	<hr>
	<fieldset class="layui-elem-field">
		<legend>基本资料</legend>
		<div class="layui-field-box">
			<div class="layui-form">
				<div class="layui-form-item" data-type="varchar" data-isnull="YES" data-name="name">
					<label class="layui-form-label">用户名称：</label>
					<div class="layui-form-mid layui-word-aux">${user.name!}</div>
				</div>
				<div class="layui-form-item" data-type="varchar" data-isnull="NO" data-name="account">
					<label class="layui-form-label">用户帐号：</label>
					<div class="layui-form-mid layui-word-aux">${user.account!}</div>
				</div>
				<div class="layui-form-item" data-type="int" data-isnull="NO" data-name="role_id">
					<label class="layui-form-label">用户角色：</label>
					<div class="layui-form-mid layui-word-aux">${user.roleName!}</div>
				</div>
				<div class="layui-form-item" data-type="varchar" data-isnull="NO" data-name="phone">
					<label class="layui-form-label">联系方式：</label>
					<div class="layui-form-mid layui-word-aux">${user.phone!}</div>
				</div>
				<div class="layui-form-item" data-type="varchar" data-isnull="YES" data-name="qq">
					<label class="layui-form-label">联系QQ：</label>
					<div class="layui-form-mid layui-word-aux">${user.qq!}</div>
				</div>
				<div class="layui-form-item" data-type="varchar" data-isnull="YES" data-name="email">
					<label class="layui-form-label">联系邮箱：</label>
					<div class="layui-form-mid layui-word-aux">${user.email!}</div>
				</div>
				<div class="layui-form-item" data-type="varchar" data-isnull="YES" data-name="avatar">
					<label class="layui-form-label">头像：</label>
					<div class="layui-input-avatar">
						<img src='${user.avatar!,image="avatar"}' class="layui-input-avatar-view">
					</div>
				</div>
			</div>
		</div>
	</fieldset>
</div>
<tpl }; />

<tpl var layoutScript={ />
<script>
	layui.use(['element'], function () {

	});
</script>
<tpl }; />
<tpl include( "../../tpl/layout-scroll.html",{identity: "home",layoutStyle:layoutStyle,layoutBody:layoutBody,layoutScript:layoutScript}){}/>